Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ArrayHelper Class / FindTopLeft(Reference[],Int32,Int32) Method
The array of references.
The minimum row of all references.
The minimum column of all references.


In This Topic
    FindTopLeft(Reference[],Int32,Int32) Method
    In This Topic
    Gets the most top left cell from all references.
    Syntax
    'Declaration
     
    
    Public Shared Sub FindTopLeft( _
       ByVal ranges() As Reference, _
       ByRef top As Integer, _
       ByRef left As Integer _
    ) 
    'Usage
     
    
    Dim ranges() As Reference
    Dim top As Integer
    Dim left As Integer
     
    ArrayHelper.FindTopLeft(ranges, top, left)
    public static void FindTopLeft( 
       Reference[] ranges,
       out int top,
       out int left
    )

    Parameters

    ranges
    The array of references.
    top
    The minimum row of all references.
    left
    The minimum column of all references.
    See Also